Optimal. Leaf size=73 \[ \frac {\text {Ci}\left (b x^n\right ) \csc \left (a+b x^n\right ) \sin (a) \sqrt [3]{c \sin ^3\left (a+b x^n\right )}}{n}+\frac {\cos (a) \csc \left (a+b x^n\right ) \sqrt [3]{c \sin ^3\left (a+b x^n\right )} \text {Si}\left (b x^n\right )}{n} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.10, antiderivative size = 73, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {6852, 3458,
3457, 3456} \begin {gather*} \frac {\sin (a) \text {CosIntegral}\left (b x^n\right ) \csc \left (a+b x^n\right ) \sqrt [3]{c \sin ^3\left (a+b x^n\right )}}{n}+\frac {\cos (a) \text {Si}\left (b x^n\right ) \csc \left (a+b x^n\right ) \sqrt [3]{c \sin ^3\left (a+b x^n\right )}}{n} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 3456
Rule 3457
Rule 3458
Rule 6852
Rubi steps
\begin {align*} \int \frac {\sqrt [3]{c \sin ^3\left (a+b x^n\right )}}{x} \, dx &=\left (\csc \left (a+b x^n\right ) \sqrt [3]{c \sin ^3\left (a+b x^n\right )}\right ) \int \frac {\sin \left (a+b x^n\right )}{x} \, dx\\ &=\left (\cos (a) \csc \left (a+b x^n\right ) \sqrt [3]{c \sin ^3\left (a+b x^n\right )}\right ) \int \frac {\sin \left (b x^n\right )}{x} \, dx+\left (\csc \left (a+b x^n\right ) \sin (a) \sqrt [3]{c \sin ^3\left (a+b x^n\right )}\right ) \int \frac {\cos \left (b x^n\right )}{x} \, dx\\ &=\frac {\text {Ci}\left (b x^n\right ) \csc \left (a+b x^n\right ) \sin (a) \sqrt [3]{c \sin ^3\left (a+b x^n\right )}}{n}+\frac {\cos (a) \csc \left (a+b x^n\right ) \sqrt [3]{c \sin ^3\left (a+b x^n\right )} \text {Si}\left (b x^n\right )}{n}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 47, normalized size = 0.64 \begin {gather*} \frac {\csc \left (a+b x^n\right ) \sqrt [3]{c \sin ^3\left (a+b x^n\right )} \left (\text {Ci}\left (b x^n\right ) \sin (a)+\cos (a) \text {Si}\left (b x^n\right )\right )}{n} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
4.
time = 0.30, size = 280, normalized size = 3.84
method | result | size |
risch | \(-\frac {\expIntegral \left (1, -i b \,x^{n}\right ) \left (i c \left ({\mathrm e}^{2 i \left (a +b \,x^{n}\right )}-1\right )^{3} {\mathrm e}^{-3 i \left (a +b \,x^{n}\right )}\right )^{\frac {1}{3}} {\mathrm e}^{i \left (b \,x^{n}+2 a \right )}}{2 n \left ({\mathrm e}^{2 i \left (a +b \,x^{n}\right )}-1\right )}-\frac {i \left (i c \left ({\mathrm e}^{2 i \left (a +b \,x^{n}\right )}-1\right )^{3} {\mathrm e}^{-3 i \left (a +b \,x^{n}\right )}\right )^{\frac {1}{3}} {\mathrm e}^{i b \,x^{n}} \pi \,\mathrm {csgn}\left (b \,x^{n}\right )}{2 \left ({\mathrm e}^{2 i \left (a +b \,x^{n}\right )}-1\right ) n}+\frac {i \left (i c \left ({\mathrm e}^{2 i \left (a +b \,x^{n}\right )}-1\right )^{3} {\mathrm e}^{-3 i \left (a +b \,x^{n}\right )}\right )^{\frac {1}{3}} {\mathrm e}^{i b \,x^{n}} \sinIntegral \left (b \,x^{n}\right )}{\left ({\mathrm e}^{2 i \left (a +b \,x^{n}\right )}-1\right ) n}+\frac {\left (i c \left ({\mathrm e}^{2 i \left (a +b \,x^{n}\right )}-1\right )^{3} {\mathrm e}^{-3 i \left (a +b \,x^{n}\right )}\right )^{\frac {1}{3}} {\mathrm e}^{i b \,x^{n}} \expIntegral \left (1, -i b \,x^{n}\right )}{2 \left ({\mathrm e}^{2 i \left (a +b \,x^{n}\right )}-1\right ) n}\) | \(280\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [C] Result contains higher order function than in optimal. Order 9 vs. order
4.
time = 0.66, size = 144, normalized size = 1.97 \begin {gather*} \frac {{\left ({\left ({\left (\sqrt {3} + i\right )} {\rm Ei}\left (i \, b x^{n}\right ) - {\left (\sqrt {3} + i\right )} {\rm Ei}\left (-i \, b x^{n}\right ) - {\left (\sqrt {3} - i\right )} {\rm Ei}\left (i \, b e^{\left (n \overline {\log \left (x\right )}\right )}\right ) + {\left (\sqrt {3} - i\right )} {\rm Ei}\left (-i \, b e^{\left (n \overline {\log \left (x\right )}\right )}\right )\right )} \cos \left (a\right ) - {\left ({\left (-i \, \sqrt {3} + 1\right )} {\rm Ei}\left (i \, b x^{n}\right ) + {\left (-i \, \sqrt {3} + 1\right )} {\rm Ei}\left (-i \, b x^{n}\right ) + {\left (i \, \sqrt {3} + 1\right )} {\rm Ei}\left (i \, b e^{\left (n \overline {\log \left (x\right )}\right )}\right ) + {\left (i \, \sqrt {3} + 1\right )} {\rm Ei}\left (-i \, b e^{\left (n \overline {\log \left (x\right )}\right )}\right )\right )} \sin \left (a\right )\right )} c^{\frac {1}{3}}}{8 \, n} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.35, size = 98, normalized size = 1.34 \begin {gather*} -\frac {4^{\frac {1}{3}} {\left (4^{\frac {2}{3}} \operatorname {Ci}\left (b x^{n}\right ) \sin \left (a\right ) + 4^{\frac {2}{3}} \operatorname {Ci}\left (-b x^{n}\right ) \sin \left (a\right ) + 2 \cdot 4^{\frac {2}{3}} \cos \left (a\right ) \operatorname {Si}\left (b x^{n}\right )\right )} \left (-{\left (c \cos \left (b x^{n} + a\right )^{2} - c\right )} \sin \left (b x^{n} + a\right )\right )^{\frac {1}{3}} \sin \left (b x^{n} + a\right )}{8 \, {\left (n \cos \left (b x^{n} + a\right )^{2} - n\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt [3]{c \sin ^{3}{\left (a + b x^{n} \right )}}}{x}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (c\,{\sin \left (a+b\,x^n\right )}^3\right )}^{1/3}}{x} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________